//
//  HOTCommImageView.m
//  Genpara
//
//  Created by zhang chunhui on 14-9-30.
//  Copyright (c) 2014年 zhangchh. All rights reserved.
//

#import "HOTCommImageView.h"

@implementation HOTCommImageView

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code
    }
    return self;
}

-(CGSize)intrinsicContentSize {
    
    if (self.image== nil) {
        return CGSizeMake(0, 0);
    }
    
    return self.image.size;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect
{
    // Drawing code
}
*/

@end
